﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
	<title>@ViewBag.Title - 中舒智能家居</title>
    @Styles.Render("~/Content/base.min.css")
    @*@Styles.Render("~/Content/style.css")*@
    @RenderSection("CssLink",false)
    <link rel="stylesheet/less" type="text/css" href="@Url.Content("~/Content/style.less")">
</head>
	<body>
		<div class="container-left">
			<div class="container-right">
				<div class="container">
					<div id="header">
						<div class="logo">
							<a href="#"><img src="@Url.Content("~/Content/images/logo.png")" alt=""/></a>
						</div>
						<ul class="miniNav fn-clear">
							<li class="r1">
								<a href="#">网站地图</a>
							</li>
							<li class="r2">
								<a href="#">联系我们</a>
							</li>
						</ul>
					</div>
					<div id="topMenu">
						<ul>
							<li>@Html.ActionLink("首页","Index","Home",null,ViewBag.Index!=null && ViewBag.Index?new {@class="now"}:null)</li>
							<li>@Html.ActionLink("公司介绍","About","Home",null,ViewBag.About!=null && ViewBag.About?new {@class="now"}:null)</li>
							<li>@Html.ActionLink("公司新闻","News","Home",null,ViewBag.News!=null && ViewBag.News?new {@class="now"}:null)</li>
							<li>@Html.ActionLink("产品展示","Product","Home",null,ViewBag.Product!=null && ViewBag.Product?new {@class="now"}:null)</li>
							<li>@Html.ActionLink("客户案例","Solution","Home",null,ViewBag.Solution!=null && ViewBag.Solution?new {@class="now"}:null)</li>
							<li>@Html.ActionLink("工厂展厅","Show","Home",null,ViewBag.Show!=null && ViewBag.Show?new {@class="now"}:null)</li>
							<li class="last">@Html.ActionLink("联系我们","Contact","Home",null,ViewBag.Contact!=null && ViewBag.Contact?new {@class="now"}:null)</li>
						</ul>
					</div>
					<div id="page" class="fn-clear @ViewBag.Banner">
						<div class="left-main">
							<div id="leftMenu">
								<h2 class="title">PRODUCTS<span class="s2">/产品列表</span></h2>
								<ul>
									@{
										var catList = new[] {"智能家具系统", "电动卷帘门", "电动卷帘窗", "伸缩篷", "固定蓬", "折叠蓬", "轻巧蓬", "轨道式天篷", "车库蓬", "花园蓬", "遮阳伞", "阳光房", "壁纸", "休闲桌椅"};
									}
									@for (var i = 1; i <= catList.Length;i++ )
									{
										<li@(catList[i - 1] == "电动卷帘门" ? Html.Raw(" class=\"now\"") : Html.Raw(null))><a href="#"><b>@(i<10?"0"+i.ToString():i.ToString())</b>@catList[i-1]</a>
											@if (catList[i - 1] == "电动卷帘门")
											{
												<ol>
													<li><a href="#" class="now">二级分类1</a></li>
													<li><a href="#">二级分类1</a></li>
												</ol>
											}
										</li>
									}
								</ul>
							</div>
							<div class="tel">
								<img src="@Url.Content("~/Content/images/pic-tel.png")" width="216" height="147"/>
							</div>
                        </div>
						<div class="mainContent @ViewBag.Class">
							<div class="colTitle">
		                        <p class="left"><span>@ViewBag.Title.Substring(0,2)</span>@ViewBag.Title.Substring(2,2)</p>
		                        <p class="right">您当前所在的位置：首页 &gt;&gt; <span>@ViewBag.Title</span></p>
	                        </div>
							@RenderBody()
						</div>
					</div>
					<div id="footer">
						<p class="info">版权所有 中舒智能家具有限公司</p>
						<div class="miniNav">
							<a href="#">网站地图</a> |
							<a href="#">联系我们</a> |
							<a href="#">网站统计</a>
						</div>
					</div>
				</div>
			</div>
		</div>
		@Scripts.Render("~/Scripts/jquery-1.8.1.min.js")
        @Scripts.Render("~/Scripts/less-1.3.0.min.js")
		<script type="text/javascript">
		    $(function () {
		        less.watch();
		    })
		</script>
		@RenderSection("scripts", required: false)
	</body>
</html>
